import service from '@/utils/request'

export const createOdsDbSyncLog = (data) => {
  return service({
    url: '/odsDbSyncLog/createOdsDbSyncLog',
    method: 'post',
    data
  })
}

export const deleteOdsDbSyncLog = (data) => {
  return service({
    url: '/odsDbSyncLog/deleteOdsDbSyncLog',
    method: 'delete',
    data
  })
}

export const deleteOdsDbSyncLogByIds = (data) => {
  return service({
    url: '/odsDbSyncLog/deleteOdsDbSyncLogByIds',
    method: 'delete',
    data
  })
}

export const updateOdsDbSyncLog = (data) => {
  return service({
    url: '/odsDbSyncLog/updateOdsDbSyncLog',
    method: 'put',
    data
  })
}

export const findOdsDbSyncLog = (params) => {
  return service({
    url: '/odsDbSyncLog/findOdsDbSyncLog',
    method: 'get',
    params
  })
}

export const getOdsDbSyncLogList = (params) => {
  return service({
    url: '/odsDbSyncLog/getOdsDbSyncLogList',
    method: 'get',
    params
  })
}

export const getAllOdsDbSyncLogs = (params) => {
  return service({
    url: '/odsDbSyncLog/getAllOdsDbSyncLogs',
    method: 'get',
    params
  })
}